//package com.example.demo.auth;
//
//import org.springframework.security.core.GrantedAuthority;
//
///**
// * Created by Administrator on 2018/3/30.
// */
//public class GrantedAuthorityImpl implements GrantedAuthority {
//    private String authority;
//
//    public GrantedAuthorityImpl(String authority) {
//        this.authority = authority;
//    }
//
//    public void setAuthority(String authority) {
//        this.authority = authority;
//    }
//
//    @Override
//    public String getAuthority() {
//        return this.authority;
//    }
//}
